package com.tcu.part.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("sbn_part")
public class Part {
    @TableId(type = IdType.ASSIGN_ID)
    private String id;
    private String name;
    private Double singlePrice;
    @TableLogic
    private Integer isDeleted;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime gmtCreate;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime gmtModified;

    private String picturePath;
    private String partDesc;
    private String manufacturer;
    private LocalDateTime productionTime;
    private String partTypeId;
    private Integer partNum;
}
